package org.zxl.springbootdemo.retrofit;

import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitClient;
import retrofit2.http.GET;
import retrofit2.http.Query;

@RetrofitClient(baseUrl = "${base.url}")
public interface HttpApi {

    @GET("getJoke")
    String getJoke(@Query("page") int page, @Query("count") int count, @Query("type") String type);
}
